<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>Error</title>
    <link rel="stylesheet" href="../../static/css/me.css" th:href="@{/css/me.css}">
    <link rel="stylesheet" href="https://unpkg.com/semantic-ui@2.4.2/dist/semantic.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js">
    <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
</head>
<body>
<!--导航-->
<nav class="ui inverted attached segment m-padded-tb-mini">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item">Social Rescue Forces Sys.</h2>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>

<br>
<br>
<br>
<div class="ui container">
    <img src="../../static/images/sad.png" th:src="@{/images/sad.png}" alt="" class="ui centered tiny image">
    <h1 class="ui center aligned red header item">[Error]</h1>
    <h3 class="ui center aligned red header item">Failed Request URL :
        <div th:utext="${url}"></div>
    </h3>
    <h3 class="ui center aligned red header item">Exception Message :
        <div th:utext="${exception.message}"></div>
    </h3>
    <div class="ui center aligned container">
        <button class="ui button ">Show StackTrace</button>
        <div class="ui modal">
            <div class="scrolling content">
                <ul>
                    <li th:each="st : ${exception.stackTrace}" th:remove="tag"><span th:utext="${st}"></span></li>
                </ul>
            </div>
            <div class="actions">
                <div class="ui positive right labeled icon button">
                    Close
                    <i class="checkmark icon"></i>
                </div>
            </div>
        </div>
    </div>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>


<!--底部-->
<footer class="ui inverted vertical segment m-padded-tb-supermassive">

</footer>

<script src="https://unpkg.com/jquery@3.5.1/dist/jquery.min.js"></script>
<script src="https://unpkg.com/semantic-ui@2.4.2/dist/semantic.min.js"></script>

<script th:inline="javascript">
    $('.menu.toggle').click(function () {
        $('.m-item').toggleClass('m-mobile-hide');
    });

    $('.ui.button').click(function () {
        $('.ui.modal')
            .modal('show')
        ;
    })

</script>
</body>
</html>